<template>
	<view class="nav">
		<u-tabbar v-model="current" :list="list"></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				current:0,
				list: [{
					// #ifndef MP-WEIXIN
					iconPath: "../../static/image/ico/index.png",
					selectedIconPath: "../../static/image/ico/index_a.png",
					//#endif
					// #ifdef MP-WEIXIN
					iconPath: "../../../static/image/ico/index.png",
					selectedIconPath: "../../../static/image/ico/index_a.png",
					//#endif
					text: '首页',
					pagePath: '/pages/index/index'
				},
				{
					// #ifndef MP-WEIXIN
					iconPath: "../../static/image/ico/notice.png",
					selectedIconPath: "../../static/image/ico/notice_a.png",
					//#endif
					// #ifdef MP-WEIXIN
					iconPath: "../../../static/image/ico/notice.png",
					selectedIconPath: "../../../static/image/ico/notice_a.png",
					//#endif
					text: '消息',
					pagePath: '/pages/Notice/index'
				},
				{
					// #ifndef MP-WEIXIN
					iconPath: "../../static/image/ico/question.png",
					selectedIconPath: "../../static/image/ico/question_a.png",
					//#endif
					// #ifdef MP-WEIXIN
					iconPath: "../../../static/image/ico/question.png",
					selectedIconPath: "../../../static/image/ico/question_a.png",
					//#endif
					text: '问大牛',
					pagePath: '/pages/Question/index'
				},
				{
					// #ifndef MP-WEIXIN
					iconPath: "../../static/image/ico/mine.png",
					selectedIconPath: "../../static/image/ico/mine_a.png",
					//#endif
					// #ifdef MP-WEIXIN
					iconPath: "../../../static/image/ico/mine.png",
					selectedIconPath: "../../../static/image/ico/mine_a.png",
					//#endif
					text: '我的',
					pagePath: '/pages/Mine/index'
				}
			],
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	
	
</style>
